package com.settlement.system.mapper;

import com.settlement.system.model.entity.common.InternetShopConfig;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;


/**
 * 请写出类的用途 
 * @author x1
 * @date  2019-03-11 10:44:59
 * @version 1.0.0
 * 
 * All Rights Reserved. 
 * 
 * The software for the testdevelopment, without the
 * company's written consent, and any other individuals and 
 * organizations shall not be used, Copying, Modify or distribute 
 * the software.
 * 
 */
public interface InternetShopConfigMapper extends BaseMapper {
	
	/**
	 * 获取所有的网销店
	 * @return 店铺编码集合
	 */
	public List<InternetShopConfig> getAllInternetShop();
	
	/**
	 * 查询所有的已启用的O2O虚店
	 * @param params
	 * @author li.zy
	 * @return 店铺编码集合
	 */
	public List<String> selectO2OShopList(@Param("params") Map<String, Object> params);
	
	/**
	 * 获取需要拆单的店。拆单的店不可能是Z1001(新拆的单就是这家公司的)
	 * @param companyNo
	 * @param shopSaleTypes 业务类型
	 * @return List
	 */
	public List<InternetShopConfig> getSplitInternetShop(@Param("companyNo") String companyNo, @Param("shopSaleTypes") List<Integer> shopSaleTypes);
}